<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%//@ page language="java" contentType="text/html; charset=EUC-KR" pageEncoding="EUC-KR"%> 
<%@page contentType="text/html; charset=utf-8" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ page session="false" %>
<html>
<head>
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
	<script type="text/javascript" src="js/command.js"></script>
	<link href="css/common.css" type="text/css" rel="stylesheet"/>
	<title>Home</title>
</head>
<body>
<form:form commandName="login" method="POST" name="login">
	<spring:message code="login.label.id"/>
	<form:input path="id"/>
	<spring:message code="login.label.pass"/>
	<form:input path="pw"/>
	<input type="submit" value="<spring:message code="login.label.login"/>"/>
</form:form>
<div>
	<!-- 사용자 로그인 -->
	<input id="login" type="button" value="로그인">
	
	<div id="userLogin">
		<form action="login" method="post">
			ID<input type="text" name="id"/>
			<input type="submit" title="login" value="로그인">
		</form>
	</div>
	<!-- 사용자 로그아웃 -->
	<div id="userLogout">
		<form action="logout" method="post">
			<input type="submit" title="logout" value="로그아웃">
		</form>
	</div>
</div>
</body>
</html>